import request from "../utils/request";

// 获取数据+分页+搜索
export const apiArticle = (data) => {
  return request({ url: "/api/article", method: "post", data });
};

export const apiRecommendArtilce = (data) => {
  return request({ url: "/api/recommendArtilce", method: "post", data });
};

export const apiArticleDetail = (data) => {
  return request({ url: "/api/articleDetail", method: "post", data });
};
